package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-10-18
 * Time: 18:54
 */
@RestController
@RequestMapping("/hello")
public class HelloController {
    @RequestMapping("/sayhello")
    public String hello() {
        return "hello spring boot";
    }
}
